setActionView
Deprecated
Use setActionView directly.
Set an action view for this menu item. An action view will be displayed in place of an automatically generated menu item element in the UI when this item is shown as an action within a parent.
Return
This Item so additional setters can be called.
Parameters
the item to change
View to use for presenting this item to the user.
See also
Deprecated
Use setActionView directly.
Set an action view for this menu item. An action view will be displayed in place of an automatically generated menu item element in the UI when this item is shown as an action within a parent.
Note: Setting an action view overrides the action provider set via setActionProvider.
Return
This Item so additional setters can be called.
Parameters
the item to change
Layout resource to use for presenting this item to the user.